<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>企业自查</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
        }

        a:hover {
            text-decoration: none;
        }

        ul,
        li {
            list-style-type: none;
        }

        html,
        body {
            width: 100%;
            height: 100%;
            font-family: Arial;
            background-color: #fcfcfc;
            font-size: 18px
        }

        *,
        *:after,
        *:before {
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
        }

        #wrap {
            height: 100%;
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-flex-flow: column;
            flex-flow: column;
        }

        #main {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
            overflow-x: hidden;
            overflow-y: scroll;
        }

        #header {
            background-color: #fe6263;
        }

        .pcc_header {
            width: 100%;
            /*height: 2.2rem;*/
            display: flex;
        }

        .pcc_header .pcc_return {
            width: 4rem;
            height: 2.2rem;
            background: url("../image/retun-icon.png")no-repeat;
            background-size: 0.6rem;
            background-position: 0.7rem center;
        }

        .pcc_header .pcc_title {
            width: 12rem;
            height: 2.2rem;
            line-height: 2.2rem;
            color: #ffffff;
            text-align: center;
            font-size: 0.96rem;
        }

        #main .pcc_title {
            width: 100%;
            height: 1.8rem;
            line-height: 1.8rem;
            color: #000000;
            background-color: rgb(230, 230, 230);
            font-size: 0.8rem;
            padding: 0 0.7rem;
            display: flex;
            justify-content: space-between;
        }
        .pcc_foot{
          width: auto;
          height: 3rem;
          background-color: #ffffff;
          color: #8a8a8a;
          display: flex;
          border-top: 1px solid #8a8a8a;
        }
        .pcc_foot>div{
          width: 25%;
          height: 3rem;
          text-align: center;
          line-height: 1rem;
          font-size: 0.7rem;
          padding-top: 0.2rem;
        }
        .pcc_foot>div>.pcc_we{
          width: 100%;
          height: 1.5rem;
          display: block;
          background-image: url("../image/weimg.png");
          background-repeat: no-repeat;
          background-size: 1.1rem;
          background-position: center;
        }
        .pcc_foot>div>.pcc_shouye{
          width: 100%;
          height: 1.5rem;
          display: block;
          background-image: url("../image/shouye.png");
          background-repeat: no-repeat;
          background-size: 1.1rem;
          background-position: center;
        }
        .pcc_foot>div>.pcc_taizhang{
          width: 100%;
          height: 1.5rem;
          display: block;
          background-image: url("../image/taizhang.png");
          background-repeat: no-repeat;
          background-size: 1.1rem;
          background-position: center;
        }
        .pcc_foot>div>.pcc_zicha{
          width: 100%;
          height: 1.5rem;
          display: block;
          background-image: url("../image/zichaon.png");
          background-repeat: no-repeat;
          background-size: 1.1rem;
          background-position: center;
        }
        .pcc_color{
          color: #fe6263;
        }
        .pcc_nav{
          width: 100%;
          height: 4rem;
          display: flex;
          background-color: rgb(247, 247, 247);
          padding: 0.5rem 0;
          font-size: 0.8rem;
          border-bottom: 1px solid rgb(235, 235, 235);
        }
        .pcc_nav>div{
          width: 25%;
          line-height: 1.5rem;
          text-align: center;
          display: flex;
          justify-content: space-between;
        }
        .pcc_nav>div div{
          width: 99%;
        }
        .pcc_nav>div span{
          height: 1.5rem;
          border-left: 1px solid #666666;
          margin-top: 0.75rem
        }

        .pcc_item{
          width: 100%;
          height: auto;
          padding: 0.5rem 0.75rem;
          display: flex;
          justify-content: space-between;
          border-bottom: 1px solid rgb(235, 235, 235);
          line-height: 1.3rem
        }
        .pcc_state{
          width: 5rem;
          height: 2.5rem;
          background-color: #fe6263;
          color: #ffffff;
          text-align: center;
          line-height: 2.5rem;
          border-radius: 7px;
        }
        .pcc_item>.pcc_cantent{
          width: 70%;
        }
        .pcc_item>.pcc_cantent>p:nth-child(1){
          width: 100%;
          font-size: 0.8rem;
          color: #333333;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .pcc_item>.pcc_cantent>p:nth-child(2){
          font-size: 0.7rem;
          color: #999999;
        }
        .pcc_navon{
          color: red
        }

    </style>
</head>

<body>
    <div id="wrap">
        <div id="header">
            <div class="pcc_header">
                <a class="pcc_return" href="#" onclick="closeappend();"></a>
                <p class="pcc_title">企业自查</p>
                <span style="width:4rem"></span>
            </div>
        </div>
        <div class="pcc_nav">
          <div>
            <div>
              <p>全部</p>
              <p>1</p>
            </div>
            <span></span>
          </div>
          <div>
            <div>
              <p>已巡查</p>
              <p>1</p>
            </div>
            <span></span>
          </div>
          <div>
            <div>
              <p>待巡查</p>
              <p>1</p>
            </div>
            <span></span>
          </div>
          <div>
            <div class="pcc_navon">
              <p>有隐患</p>
              <p>1</p>
            </div>
            <span></span>
          </div>
          <div>
            <div>
              <p>亮红灯</p>
              <p>1</p>
            </div>
          </div>
        </div>
        <div id="main">
          <div class="pcc_item" onclick="openpage('kong');">
            <div class="pcc_cantent">
              <p>绍兴上虞轴承有限公司绍兴上虞轴承有限公司绍兴上虞轴承有限公司</p>
              <p>任务时间：2018-09-01至2018-09-30</p>
            </div>
            <div class="pcc_state">已巡查</div>
          </div>
          <div class="pcc_item" onclick="openpage('kong');">
            <div class="pcc_cantent">
              <p>绍兴上虞轴承有限公司</p>
              <p>任务时间：2018-09-01至2018-09-30</p>
            </div>
            <div class="pcc_state">已巡查</div>
          </div>
          <div class="pcc_item" onclick="openpage('kong');">
            <div class="pcc_cantent">
              <p>绍兴上虞轴承有限公司</p>
              <p>任务时间：2018-09-01至2018-09-30</p>
            </div>
            <div class="pcc_state" onclick="openpage('kong');">已巡查</div>
          </div>
        </div>
        <div class="pcc_foot">
          <div onclick="openpage('index');">
            <span class="pcc_shouye"></span>
            首页
          </div>
          <div onclick="openpage('parameter');">
            <span class="pcc_taizhang"></span>
            台账
          </div>
          <div href="#" onclick="openpage('check');" class="pcc_color">
            <span class="pcc_zicha"></span>
            企业自查
          </div>
          <div href="#" onclick="openpage('we');">
            <span class="pcc_we"></span>
            我的
          </div>
        </div>
    </div>

</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
    apiready = function() {
        var header = $api.byId('header');
        //适配iOS 7+，Android 4.4+状态栏
        $api.fixStatusBar(header);

    };
    //关闭本窗口
    function closeappend() {
        api.closeWin();
    };
    function openpage(url) {
      api.openWin({
              name: url,
              url: './'+url+'.html',
              pageParam: {
                  name: 'test1213'
              }
          });
    };
</script>

</html>
